
public class Node 
{
        private double xCoord;
        private double yCoord;
   
        public Node(double x, double y)
        {
                xCoord = x;
                yCoord = y;
        }
        public double getX()
        {
                return xCoord;
        }
        public double getY()
        {
                return yCoord;
        }   
}
